home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / tcp_ip / jnos / cmdshelp / domain < prev    next >
Text File  |  1994-08-09  |  7KB  |  181 lines

  1.  
  2. domain <subcommand>
  3.  
  4.      The domain commands control and show the working of the name  to
  5. Internet address  mapping software.  JNOS40 has both a network client
  6. and server.  The server will answer queries from data in the domain
  7. cache, and from information stored in the rom DOMAIN.TXT file.
  8.  
  9.      
  10.  
  11.     domain addserver <hostid> [<timeout>]
  12.  
  13.      Add a domain name server to the list of name servers.
  14.  
  15.      <timeout> is an optional timeout setting in seconds for
  16.      this server.  If <timeout> is not included in the command, the
  17.      value defaults to 3 * (tcp_irtt).
  18.      
  19.           Example:  domain addserver wg7j.ece.orst.edu
  20.                     domain addserver 128.193.48.1
  21.                     domain addserver ucsd.edu
  22.           
  23.           
  24.     domain cache <subcommand>
  25.  
  26.      Following commands work on the domain cache. These are resource
  27.      records held in memory. (described in  RFC1033/1034)
  28.      
  29.        domain cache clean [<yes | NO>]
  30.  
  31.         Displays or sets the discard of expired resource records.
  32.         Expired records have their time-out value decremented to zero.
  33.         Normally resource records get a default time-out value of 1800
  34.         seconds.  After this time they are  considered "old" and if
  35.         referenced again the domain name resolver should be inquired
  36.         again.  When clean is off (the default), expired records will
  37.         be retained; if no replacement can be obtained from another
  38.         domain name server, these records will continue to be used.
  39.         When clean is on, expired records will be removed from the
  40.         file whenever  any new record is added to the file.
  41.           domain cache clean yes
  42.           
  43.           
  44.        domain cache dump
  45.  
  46.         Immediately clears the domain cache
  47.         
  48.         
  49.        domain cache list
  50.  
  51.         This command shows the current content of the in-memory  cache
  52.         of  resource records.
  53.      
  54.  
  55.        domain cache size [<size>]
  56.  
  57.         (B)    Display or set the maximum size of the local  in-memory
  58.         domain cache. Default is 5.
  59.           domain cache size 10
  60.  
  61.                     
  62.     domain dns [on|off]
  63.  
  64.      (B)  Display or  toggle the state of the Domain Name Server.  If
  65.      on, the system is active as a Domain Name Server. The system will
  66.      then answer queries from other tcp/ip hosts regarding hostname to
  67.      ip-address, and ip-address to hostname translations.  For more
  68.      information, see the section SETTING UP THE DOMAIN NAME SYSTEM.
  69.      
  70.  
  71.     domain dropserver <hostid>
  72.  
  73.      Remove a domain name server from the list of name servers.   You
  74.      are  warned when you delete the last name server.
  75.           domain dropserver ece.orst.edu
  76.           
  77.           
  78.     domain listservers
  79.  
  80.      List the currently configured domain name servers, along with
  81.      statistics  on how  many  queries  and  replies  have been
  82.      exchanged with each one, response times, etc.
  83.      
  84.     domain maxwait [<time-out>]
  85.  
  86.      (B)  This sets a time-out value (1 to 255 seconds) to a query or
  87.      domain name server.   This is not set for an already defined
  88.      server but will be used for a newly defined name server.  Also
  89.      the value is used for domain name lookups (E.g. when a user does
  90.      a telnet to a host with the nodeshell 'T host' command).  Note
  91.      that (PC based) name servers can have trouble finding records in
  92.      a large database.  Default is 60 seconds.
  93.      
  94.           domain maxwait 10
  95.           
  96.           
  97.     domain retries [<retries>]
  98.  
  99.      (B)  The retry value (number) limits the number of queries  sent
  100.      out to remote domain  name resolvers before giving up and telling
  101.      you that host xyzzy.ampr.org does not exist.  The total time lost
  102.      with a query is (retries * time-out * number of domain servers
  103.      defined); i.e., the delay between requesting a hostname to ip-
  104.      address translation and getting the answer can become very long
  105.      if you use many servers, and set the time-outs/retries high !
  106.      Default is 2.
  107.      
  108.           domain retries 1
  109.  
  110.  
  111.     domain subnet [on | off]
  112.  
  113.      This command works in conjunction with 'domain translate' to
  114.      allow or disallow translation of any address ending in 0 or 255.
  115.      On systems which have a lot of subnets, turning off subnet
  116.      translation can result in a considerable speedup when displaying
  117.      routes with 'domain translate on'.
  118.  
  119.  
  120.     domain suffix [<domain suffix> | none]
  121.  
  122.      Display or specify the default domain name suffix to be appended
  123.      to a host name when it contains no periods.  For example, if the
  124.      suffix is set to "ampr.org." and the user enters 'telnet ka9q',
  125.      the domain resolver will attempt to  find 'ka9q.ampr.org.' If the
  126.      host name being sought contains one or more periods, however, the
  127.      default suffix is NOT applied if the last part of the name is
  128.      less than 5 characters and contains only letters; e.g., 'telnet
  129.      foo.bar' would NOT be turned into 'foo.bar.ampr.org.' 'telnet
  130.      foo.ka9q' will be turned into 'foo.ka9q.ampr.org.' Note  that a
  131.      trailing dot (.) is required for the suffix.  If the suffix is
  132.      the string 'none' (without trailing period), the current suffix
  133.      is cleared and forgotten.  Default is "ampr.org."
  134.           domain suffix ece.orst.edu.
  135.  
  136.  
  137.     domain trace [on| OFF]
  138.  
  139.      (B)  Display or set the flag controlling the tracing of domain
  140.      server requests and responses.  This only works when console is
  141.      enabled.  Default is off.
  142.      
  143.           domain trace on
  144.           
  145.           
  146.     domain translate [on | OFF]
  147.  
  148.      (B)  Display or set the flag that controls the translation of  ip
  149.      addresses in dot notation into symbolic names.  The translation
  150.      process makes heavy use of reverse domain name lookups.  Do not
  151.      set this flag unless you have a good and fast connection to a
  152.      domain name server.
  153.      
  154.           domain translate on
  155.           
  156.           
  157.     domain ttl [ttl]
  158.  
  159.      Select a default 'ttl' value to be applied to server responses
  160.      than contain none.
  161.           
  162.           
  163.     domain update [on | off]
  164.  
  165.           
  166.      Controls whether or not domain.txt file is updated with server
  167.      responses.
  168.  
  169.               domain verbose [on | off]
  170.  
  171.      (B)  Display or set the flag controlling the return of a full
  172. name (on) or only the first name (dot delimiter) (off).  This is for
  173. IP address to name translation only.  If off, home.wg7j.ampr.org. will
  174. show as 'home.wg7j', whereas if on it will show as
  175. 'home.wg7j.ampr.org'
  176.  
  177.           domain verbose off
  178.           
  179.           
  180.  
  181.